import Vue from 'vue'
import App from './App.vue'
import router from './router'

Vue.config.productionTip = false

//#全局导入
//导入vant
// import Vant from "vant"
// Vue.use(Vant)
//导入vant的样式
// import 'vant/lib/index.css'


//#局部使用vant
//按需导入
// import { Button, Checkbox } from 'vant'
// //注册局部组件
// Vue.use(Button)
// Vue.use(Checkbox)


//配置全局组件
import ArticleItem from '@/components/ArticleItem'
Vue.component('ArticleItem', ArticleItem)


import '@/utils/vant-ui'
new Vue({
    router,
    render: h => h(App)
}).$mount('#app')